// 病假申请
import request from '@/router/axios'

//展示表格
export function applyObj(query) {
    return request({
        url: '/campus/student/page',
        method: 'get',
        params:query
    })
}

//修改
export function EditapplyObj(obj) {
    return request({
        url: '/campus/leave',
        method: 'post',
        data:obj
    })
}

//发起人
export function EditapplycreateUserObj(obj) {
    return request({
        url: '/campus/persons/userPersons',
        method: 'get',
        params:obj
    })
}

export function deptList(obj) {
    return request({
        url: '/campus/sysdept/detpTree/1/2,3',
        method: 'get',
        params:obj
    })
}


